var frmvalidator  = new Validator("uProfiles");  
frmvalidator.addValidation("fName","req","Please enter your First Name");
frmvalidator.addValidation("lName","req","Please enter your Last Name");
frmvalidator.addValidation("gender","req","Please tell us your gender");
frmvalidator.addValidation("SIN","req","Please enter your social insurance number");
frmvalidator.addValidation("birthdate","req","Please tell us your birthday");
frmvalidator.addValidation("address","req","Please enter your address");
frmvalidator.addValidation("city","req","Please enter your living city");
frmvalidator.addValidation("mprovince","req","Please enter your living province");
frmvalidator.addValidation("postcode","req","Please enter your post code");
frmvalidator.addValidation("datein","req","Please tell us when you moved into this place");
frmvalidator.addValidation("primaryphone","req","Please provide your primary contact phone number so that we can reach you fast and easily");
frmvalidator.addValidation("workphone","req","Please enter your work phone number");
frmvalidator.addValidation("cellphone","Please enter your cellphone");
frmvalidator.addValidation("driver","req","Please enter your driver license, if you don't have one, please provide your health card number");
frmvalidator.addValidation("email","req","Please enter your email address and your email address will be your loginID when you come back, Thanks!");
frmvalidator.addValidation("email","email", "The email address is not a correct email format");
frmvalidator.addValidation("cemail","req","Please enter your email address again"); 
frmvalidator.addValidation("cemail","eqelmnt=email","The confirmed email address is not the same as your email");
frmvalidator.addValidation("r1name","req","Please enter your first reference Name");
frmvalidator.addValidation("r2name","Please enter your second reference Name");
frmvalidator.addValidation("r1phone","req","Please enter your first reference phone number");
frmvalidator.addValidation("r2phone","Please enter your second reference phone number");
frmvalidator.addValidation("r1relation","req","Please tell us your relationship with your first reference");
frmvalidator.addValidation("advertisement","req","Please tell us where did you know www.cash2u.ca? Thanks.");


/*<![CDATA[*/// 
   jQuery(function($) {
     $.mask.definitions['~']='[+-]';
      $('#date').mask('99/99/9999');
      $('#datebirth').mask('99/99/9999');
      $('#datein').mask('99/99/9999');
      $('#datehired').mask('99/99/9999');
      $('#fdate').mask('99/99/9999');
      $('#sdate').mask('99/99/9999');
      $('#phone').mask('(999) 999-9999');
      $('#phonep').mask('(999) 999-9999');
      $('#phonew').mask("(999) 999-9999? x99999");
      $('#phonec').mask('(999) 999-9999');
      $('#phoner1').mask("(999) 999-9999? x99999");
      $('#phoner2').mask("(999) 999-9999? x99999");
      $('#phoneext').mask("(999) 999-9999? x99999");
      $("#tin").mask("99-9999999");
      $("#ssn").mask("999-999-999");
      $("#post").mask("a9a-9a9");
      $("#epost").mask("a9a-9a9");
      $("#product").mask("a*-999-a999",{placeholder:" ",completed:function(){alert("You typed the following: "+this.val());}});
      $("#eyescript").mask("~9.99 ~9.99 999");
   });
// ]]&gt;/*]]>*/
